package org.lboot.rbac.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author kindear
 * 注册参数
 */
@Data
@ApiModel(value = "注册参数")
public class RegisterParams {
    @NotBlank(message = "用户账号不可为空")
    @ApiModelProperty("用户账号")
    String userName;

    @NotBlank(message = "用户密码不可为空")
    @ApiModelProperty("用户密码")
    String password;
}
